// 营销下的广告列表新增
import request from '@/api/myRequest'
//更新广告
export function updateAds(data) {
  return request({
    url: '/lejuAdmin/advertise/updateAds',
    method: 'post',
    data
  })
}
//新增广告
export function addAds(data) {
  return request({
    url: '/lejuAdmin/advertise/addAds',
    method: 'post',
    data
  })
}


export default {
addAds,
updateAds,
}
